/**
 * 文本链接 a
 */
//	_EsdDynamicTransformationScript.navBlock = {}; //定义区域跳转类
//	_EsdDynamicTransformationScript.navBlock.debug = true; //是否是调试模式，调试模式有红边线，非调试模式关闭红边框
//	//定义跳转 使用jquery选择器语法
//	_EsdDynamicTransformationScript.navBlock.selector = {};

	


//面包屑导航（除首页）
if( $(".CurrChnlCls").length > 0 ){
	
	//目录页的翻页input处理
	$("#num").attr("title","跳转到第多少页");
	$("#num").attr("placeholder","跳转到第多少页");
	$("input[type='submit']").attr("title","提交");
	$("input[type='submit']").attr("placeholder","提交");
	
	$("center>table:eq(0)").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
	$("center>table:eq(1)").attr("id","nav");
	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$("center>table:last").attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$("center>table:eq(3)").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
	$("center>table:eq(3) tbody tr>td:eq(0)").attr("id","left");
	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
	$("center>table:eq(3) tbody tr>td:eq(0)").next().attr("id","right");
	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";
	$("#zoom").attr("id","content");
	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	
	$("body > center > table:nth-child(16)").addClass("navBlock");
	$("center>table:eq(2)").addClass("navBlock");
	$("center>table:eq(3)").addClass("navBlock");
	$("center>table:eq(3) tbody tr>td:eq(0)").addClass("navBlock");
	$("center>table:eq(3) tbody tr>td:eq(0)").next().addClass("navBlock");
	$("#zoom").addClass("navBlock");

	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个
}



if(location.href=="http://gat.jl.gov.cn/" || location.href=="http://gat.jl.gov.cn/index.html"){
	//首页
	
	//主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
	$("center>table:eq(0)").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
	$("center>table:eq(0) table:eq(1)").attr("id","nav");
	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$("center>table:eq(11)").attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$("center>table:eq(3)").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";

	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";

	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";

	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	$("#table_fd2").addClass("navBlock");
	$("center>table:eq(3) tbody tr td>table:eq(1) tbody tr>td:eq(0) .bor_blue").addClass("navBlock");
	$("center>table:eq(3) tbody tr td>table:eq(1) tbody tr>td:eq(0) .mar_t:first").addClass("navBlock");
	$("center>table:eq(3) tbody tr td>table:eq(1) tbody tr .pad_l>table:eq(0)").addClass("navBlock");
	$("center>table:eq(3) tbody tr td>table:eq(1) tbody tr .pad_l>table:eq(2)").addClass("navBlock");
	$("center>table:eq(3) tbody tr td>table:eq(2)").addClass("navBlock");
	$("#tab2_t1").parent().addClass("navBlock");
	$("center>table:eq(5) tbody tr>td:eq(0) .bor_blue").addClass("navBlock");
	$("center>table:eq(5) tbody tr>td:eq(0) .mar_t:eq(1)").addClass("navBlock");
	$("center>table:eq(5) tbody tr>td:eq(0)").next().find(".bor_blue").addClass("navBlock");
	$("center>table:eq(5) tbody tr>td:eq(0)").next().next().addClass("navBlock");
	$("center>table:eq(7)").addClass("navBlock");
	$("center>table:eq(9) tbody tr>td:eq(0) .bor_blue").addClass("navBlock");
	$("center>table:eq(9) tbody tr>td:eq(0)").next().find("table:first").addClass("navBlock");
	$("center>table:eq(9) tbody tr>td:eq(0)").next().find(".bor_blue").addClass("navBlock");
	$("center>table:eq(9) tbody tr>td:eq(0)").next().next().addClass("navBlock");
	$("center>table:eq(10)").addClass("navBlock");


	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个
	
}


if(location.href=="http://gat.jl.gov.cn/ldzc/" || location.href=="http://gat.jl.gov.cn/jwzx/gayw/" || location.href=="http://gat.jl.gov.cn/zwgk/ldhd/" || location.href=="http://gat.jl.gov.cn/wsfw/fwkx/" || location.href=="http://gat.jl.gov.cn/jmhd/zxft/"){
	//导航的二级页
	//主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
	$("center>table:eq(0)").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
	$("center>table:eq(1)").attr("id","nav");
	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$("center>table:last").attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$("center>table:eq(3)").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
	$("center>table:eq(3) tbody tr>td:eq(0)").attr("id","left");
	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
	$("center>table:eq(3) tbody tr>td:eq(0)").next().attr("id","right");
	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";

	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	$("center>table:eq(3) table").addClass("navBlock");


	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个

}

if(location.href=="http://gat.jl.gov.cn/jmhd/tzxx/ljb/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/hd/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/lhb/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/zh/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/lx/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/lf/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/ldb/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/xbf/"){
	//厅长信箱
	//主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
	$(".header").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";

	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$(".footer").attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$(".main").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
	$(".main .main_l").attr("id","left");
	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
	$(".main .main_r").attr("id","right");
	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";

	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	$(".main .main_l").addClass("navBlock");
	$(".main .main_r").addClass("navBlock");
	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个
	
}







